//
//  THOpenView.h
//  PublicProject
//
//  Created by TianHe_Wsk on 15/11/7.
//  Copyright © 2015年 H.D.X. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface THOpenView : UIView
{

}

@property(nonatomic) BOOL isaddScreenShot;//是否开启蒙版

@property(nonatomic,strong)  UIView *OpenViewObjct;//开窗对象

/*
 *eg:
 RegisteredViewController *registerView=[[RegisteredViewController alloc] init];
 
 [registerView setFrame:frame];
 registerView.selectBlock=^(NSInteger index,NSDictionary *dict){
 //点击了注册的某些事件
 if(index==1&&[dict allKeys].count>0){
 [self dismiss];
 }
 };
 [registerView.view setClipsToBounds:YES];//主要
 LoginViewController *loginview=(LoginViewController*)Objct;
 [loginview  addChildViewController:registerView];//主要
 [self addSubview:registerView.view];//主要
 [loginview.view addSubview:self];//主要
 
 OpenViewObjct=registerView.view;
 
 */

/**
 展示窗口位置
 @param frame 位置
 */
-(id)ShowOpenContentViewFream:(CGRect)frame;

//开启
-(void)showWindows;
//关闭
-(void)dismiss;

@end
